/*
 * Wire
 * Copyright (C) 2018 Wire Swiss GmbH
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see http://www.gnu.org/licenses/.
 *
 */

enum PERSONAL {
  GROUP = 'z.conversation.ACCESS_STATE.PERSONAL.GROUP',
  ONE2ONE = 'z.conversation.ACCESS_STATE.PERSONAL.ONE2ONE',
}

export enum TEAM {
  GUEST_ROOM = 'z.conversation.ACCESS_STATE.TEAM.GUEST_ROOM',
  GUEST_FEATURES = 'z.conversation.ACCESS_STATE.TEAM.GUEST_FEATURES',
  PUBLIC = 'z.conversation.ACCESS_STATE.TEAM.PUBLIC',
  PUBLIC_GUESTS = 'z.conversation.ACCESS_STATE.TEAM.PUBLIC_GUESTS',
  GUESTS_SERVICES = 'z.conversation.ACCESS_STATE.TEAM.GUESTS_SERVICES',
  LEGACY = 'z.conversation.ACCESS_STATE.TEAM.LEGACY',
  ONE2ONE = 'z.conversation.ACCESS_STATE.TEAM.ONE2ONE',
  SERVICES = 'z.conversation.ACCESS_STATE.TEAM.SERVICES',
  TEAM_ONLY = 'z.conversation.ACCESS_STATE.TEAM.TEAM_ONLY',
}

enum OTHER {
  SELF = 'z.conversation.ACCESS_STATE.SELF',
  UNKNOWN = 'z.conversation.ACCESS_STATE.UNKNOWN',
}
export const ACCESS_STATE = {OTHER, PERSONAL, TEAM};
export type ACCESS_STATE = PERSONAL | TEAM | OTHER;
